module.exports = {
    publicPath: '/',
    productionSourceMap:false, //优化打包，防止出现map文件
    // 选项...
    devServer: {
        proxy: {
          '/api': {
            target: '<url>',
            ws: true,
            changeOrigin: true,
            pathRewrite:{
                '^/api':''
            }
          }
        }
    }
}